home *** CD-ROM | disk | FTP | other *** search
- // Copyright (c) 1993, University of Kansas, All Rights Reserved
- //
- // Class: TDosLynx : public TApplication
- // Include File: TDosLynx.h
- // Purpose: Implement our application object.
- // Remarks/Portability/Dependencies/Restrictions:
- // Revision History:
- // 12-09-93 created
- // 02-09-04 Split all members to seperate files to enhance
- // overlay support.
- #include"tdoslynx.h"
- #include"tcapture.h"
- #include<dos.h>
- #include<stdlib.h>
-
- void TDosLynx::outOfMemory() {
- // Purpose: Displays a message indicating low memory
- // Arguments: void
- // Return Value: void
- // Remarks/Portability/Dependencies/Restrictions:
- // Revision History:
- // 12-14-93 created
-
- doslynxmessage("Not enough memory to complete operation.");
- doslynxmessage("Program Terminating....");
-
- // Give user time to see message.
- sleep(5);
- exit(1);
- }